

package testsubjects;

import java.util.function.Function;

public class StaticNonSerializableFunction implements Function<String, String> {

    private String returnValue;

    public StaticNonSerializableFunction(String returnValue) {
        this.returnValue = returnValue;
    }

    @Override
    public String apply(String key) {
        return returnValue;
    }

}
